package com.cradom.event.service;

import java.util.List;
import java.util.Set;

import com.cradom.event.model.Permission;
import com.cradom.event.model.Role;

public interface AuthorityService {
	public Boolean addRole(Role role);
	public Boolean addPermission(Permission permission);
	public List<Role> getAllRole();
	public List<Permission> getAllPermission();
	public Boolean deleteRole(Integer id);
	public Boolean deletePermission(Integer id);
	public Set<String> getRoleContentByPhone(String phone);
}
